package com.gitee.feizns.itrip.personal.beans.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 区域字典表
 * </p>
 *
 * @author feizns
 * @since 2019-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("itrip_area_dic")
public class AreaDic implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 区域名称
     */
    private String name;
    /**
     * 区域编号
     */
    private String areaNo;
    /**
     * 父级区域
     */
    private Long parent;
    /**
     * 0:未激活 1:已激活
     */
    private Integer isActivated;
    /**
     * 是否是商圈(0:不是 1:是)
     */
    private Integer isTradingArea;
    /**
     * (0:不是 1：是)
     */
    private Integer isHot;
    /**
     * 区域级别(0:国家级 1:省级 2:市级 3:县/区)
     */
    private Integer level;
    /**
     * 1:国内 2：国外
     */
    private Integer isChina;
    private String pinyin;
    private Date creationDate;
    private Long createdBy;
    private Date modifyDate;
    private Long modifiedBy;


}
